package com.mk.api.open;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 第三方对接
 *
 * @author zhangrui
 * @date 2020-07-09
 */
@SpringBootApplication
public class ApiOpenApplication {

    public static void main(String[] args) {
        SpringApplication.run(ApiOpenApplication.class, args);
        System.out.println("api-open启动成功了");
    }

    @RequestMapping("/system/checkServerHealth")
    public String checkServerHealth() {
        System.out.println("ok");
        return "ok";
    }

}